#define  _CRT_SECURE_NO_WARNINGS 1
#include"vector.cpp"
int main()
{
	jz::vector<int> v1;
	v1.push_back(1);
	v1.push_back(1);
	v1.push_back(1);
	v1.push_back(1);
	v1.push_back(1);
	jz::vector<int> v2;
	v2.push_back(2);
	v2.push_back(2);
	v2.push_back(2);
	v2.push_back(2);
	v2.push_back(2);
	v2.swap(v1);
	jz::vector<int> v3;
	v3 = v2;
	for (auto v : v3)
	{
		cout << v <<" ";
	}
	v3.insert(v3.begin(), 100);
	for (auto v : v3)
	{
		cout << v << " ";
	}
	cout << endl;
	return 0;	
}